//
//  CommentProModel.m
//  LoveTrail
//
//  Created by giantumbrella on 15/6/25.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import "CommentProModel.h"

@implementation CommentProModel

- (void)decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"name"] isKindOfClass:[NSNull class]]) {
            self.name = [dic objectForKey:@"name"];
        }
        if (![[dic objectForKey:@"brief"] isKindOfClass:[NSNull class]]) {
            self.brief = [dic objectForKey:@"brief"];
        }
        if (![[dic objectForKey:@"time"] isKindOfClass:[NSNull class]]) {
            self.time = [dic objectForKey:@"time"];
        }
        if (![[dic objectForKey:@"type"] isKindOfClass:[NSNull class]]) {
            self.type = [dic objectForKey:@"type"];
        }
    }
}
@end
